package com.woniu.cq.mallorder.service;

import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.woniu.cq.mallorder.domain.Orderitem;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author daniel
 * @since 2020-09-19
 */
public interface IOrderitemService extends IService<Orderitem> {

    /**
     * @description: 查询某个订单详情
     * @param: orderId
     * @return: java.util.List<com.woniu.cq.mallorder.domain.Orderitem>
     */
    List<Orderitem> getOrderItem(Integer orderId);
    /** 
     * @description: 查询某个item详情
     * @param: orderItemId 
     * @return: com.baomidou.mybatisplus.core.metadata.OrderItem 
     */
    Orderitem getOneOrderItem(Integer orderItemId);
}
